import { createRouter, createWebHashHistory,useRouter } from 'vue-router'


const router = createRouter({
  history: createWebHashHistory(),
  routes: [
    {
      path: '/',
      name: 'Index',
      component: () => import('@/views/Home/index.vue'),
      redirect:'/hello',
      children:[
        
      ]
    },
    {
      path: '/login',
      name: 'Login',
      label:'登录',
      component: () => import('@/views/Login/index.vue')
    },

  ]
})

export default router
